#include "sphericcamera.h"

SphericCamera::SphericCamera(){}

SphericCamera::SphericCamera(double dSpeed , double dRadix , Point centerPoint){
    m_dSpeed = dSpeed;
    //m_dRadix = dRadix;
    m_centerPoint = centerPoint;
    m_position = Vector(m_centerPoint.x() , m_centerPoint.y() , m_centerPoint.z() - dRadix);
}

void SphericCamera::zoom(double dt) {
    //Zoom the camera in the direction of the view vector
    double dDisplacement = m_dSpeed * dt;
    m_dRadix += dDisplacement;
    m_position = mposition + dDisplacement;
}

void SphericCamera::rotateAroundX(double dt){

}

void SphericCamera::rotateAroundY(double dt){

}

